/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 * <p>
 * https://www.renren.io
 * <p>
 * 版权所有，侵权必究！
 */

package io.renren.modules.job.task;

import io.renren.modules.sys.service.TiananService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;


@Component("TianEndTime")
public class TianEndTime {
    private Logger logger = LoggerFactory.getLogger(getClass());
    @Resource
    TiananService tiananService;


    public void run(String params) {
        tiananService.updateendtime();
        logger.debug("提案结束时间判断");
    }

}
